home *** CD-ROM | disk | FTP | other *** search
- Path: ix.netcom.com!netnews
- From: richrug@ix.netcom.com(RICHARD RUGANI)
- Newsgroups: comp.lang.c
- Subject: Re: Please help with Turbo C++ Lite
- Date: 7 Jan 1996 08:54:36 GMT
- Organization: Netcom
- Message-ID: <4co1oc$7uh@ixnews3.ix.netcom.com>
- References: <pburgess.1.005AB57C@fgi.net>
- NNTP-Posting-Host: ix-den13-06.ix.netcom.com
- X-NETCOM-Date: Sun Jan 07 12:54:36 AM PST 1996
-
- In <pburgess.1.005AB57C@fgi.net> pburgess@fgi.net writes:
- >
- >This may sound like an idiot's question, but....
- >
- >I just bought Turbo C++ Lite, and whenever I try to run a program
- >from the IDE, it says "Cannot load filename.EXE."
- >When I try to run it from the command line, I get a
- >message similar to "This example program can
- >only be run from the IDE."
- >
- >Anyone got any ideas about how to correct this
- >problem?
- >
- >I think I have my directories set right (I've been
- >using Turbo Pascal for about 3 years, so it should be
- >about the same). Also, I tried putting the location in
- >the path, and it still doesn't work.
- >
-
- Um, I think you missed the point of the 'Lite' in
- Turbo C++ Lite.
-
- Lite is not a full featured compiler. It is a 'light'
- version of the real thing.
-
- You cannot create stand alone programs with Lite. You
- can only create (and save) source files (with .C or .CPP
- extensions ) which can only be run from within the Lite
- IDE.
-
- The error messages you received indicate you are trying
- to run .exe files from within the IDE or from the DOS
- command line.
-
- The .exe files which Lite makes from your source files
- are not executable files. They are an intermediate step
- towards a full compilation, which Lite stops short of (this
- is the main reason it's called 'Lite').
-
- The only files which can be 'run' with Lite are ascii source
- files. Lite links your source file with any library functions
- your file calls, then creates and executes the corresponding
- machine code. BUT, it does not save the machine code to an
- executable file. So, it's not quite the compiler you expected.
-
- There are other limitations with Lite, all of which are
- mentioned in the book which carries the disk:
-
- 'Programming C in 12 Easy Lessons' by Greg Perry
-
- If you got the program without the book, I don't know what to
- tell you.
-
- But if you have the book, you really have to read it to learn
- how to use Turbo C++ Lite.
-
- I was a bit disappointed when I realized Lite's limitations,
- but, heck, for $39.95, I got a Turbo C/C++ IDE/compiler (well,
- almost), a great library, and on-line help.
-
- It's a great teaching device, but if you want to create stand
- alone programs, you need another compiler.
-
-
-
-
-